package io.github.wppli.infrastructure.persistent.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * <p>
 * 用户关注关系
 * </p>
 *
 * @author lijiaqiang@ljq1024.cc
 * @since 2025-03-02
 */
@Getter
@Setter
@TableName("user_follows")
@AllArgsConstructor
@NoArgsConstructor
public class UserFollows implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId("id")
    private Integer id;

    /**
     * 关注者ID
     */
    @TableField("follower_id")
    private Long followerId;

    /**
     * 被关注者ID
     */
    @TableField("followee_id")
    private Long followeeId;

    /**
     * 关注时间
     */
    @TableField("created_at")
    private Date createdAt;

    /**
     * 修改时间
     */
    @TableField("update_at")
    private Date updateAt;

    /**
     * 关注状态，1：已取消，0：已关注
     */
    @TableField("status")
    private Integer status;

}
